This is a sample application written to show how to use the Extension Mobility API as documented in the 7.0(1) Cisco Unified Communication Manager XML Developer Guide available at the Cisco Developer Community web site.

Source Packages

The source files are broken into several packages. The DTD files and this overview.html file are in the root of the src folder. These will show up in NetBean <default packages> section The EMTool package contains the core java files for the project. The helpers package contains the response helper classes used by the EMDtd class. The loginrequest, loginresponse, queryrequest and queryresponse packages are autogenerated by the xjc tool.

User Interface

The user interface is a simple Swing interface created using the Netbeans Form Editor. Here is an overall view of the User Interface

UI

The User Information section contains information used to identify the user, devce and profile that are used for the various Extension Mobility tasks.

The Cisco Unified Communications Manager section contains information used to identify the location of the EMService and also t provide a username and password for a user that has the capability to perform Extension Mobility functions.

The Login, Logout, Query Device and Query Users buttons perform the four basic tasks.

The Login function has an optional parameter which allows an auto logout feature after a specified number of minutes.

The Implementation section allows the choice of using either the DTD/Jaxb implementation or the Raw Text implementation.

The Options window has check boxes that allow you to show or hide the results window, whiche has the basic results from each function. Or the Console window which displays all output to System.out and System.err.

Note that when the Console is closed, System.out and System.err are restored to their default values.